<template>
	<view class="textCard">
		<view class="">
			——
		</view>
		<view class="title">
			{{cardText}}
		</view>
		<view class="">
			——
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			cardText: {
				type: String,
				default: '为您推荐'
			}
		}

	}
</script>

<style scoped lang="scss">
	.textCard {
		display: flex;
		justify-content: center;
		font-weight: 600;
		padding: 20rpx 0;

		.title {
			padding: 0 20rpx;
		}
	}
</style>